package com.mxpio.erp.common.plan.entity;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.mxpioframework.jpa.annotation.Generator;
import com.mxpioframework.security.entity.BaseEntity;

import io.swagger.v3.oas.annotations.media.Schema;

/**
 * 净需求计划
 */
@Entity
@Table(name = "MB_ERP_PLAN_NET_REQUIREMENT_PLAN")
public class NetRequirementPlan extends BaseEntity{
	
	private static final long serialVersionUID = 1L;
	@Id
	@Generator
	@Schema(description = "预订单流水号")
	@Column(name = "PLAN_NO_")
	private String planNo;

	@Schema(description = "发货日期")
	@Column(name = "SHIPMENT_DATE_")
	private Date shipmentDate;
	
	@Schema(description = "计划完成日期")
	@Column(name = "COMPLETE_PLAN_DATE_")
	private Date completePlanDate;
	
	@Schema(description = "物料编码")
	@Column(name = "ITEM_CODE_")
	private String itemCode;
	
	@Schema(description = "数量")
	@Column(name = "NUBMER_", precision = 20, scale = 6)
	private BigDecimal number;
	
	@Schema(description = "备注")
	@Column(name = "REMARK_" ,length = 4000)
	private String remark;
	
	public String getPlanNo() {
		return planNo;
	}

	public void setPlanNo(String planNo) {
		this.planNo = planNo;
	}

	public Date getShipmentDate() {
		return shipmentDate;
	}

	public void setShipmentDate(Date shipmentDate) {
		this.shipmentDate = shipmentDate;
	}

	public Date getCompletePlanDate() {
		return completePlanDate;
	}

	public void setCompletePlanDate(Date completePlanDate) {
		this.completePlanDate = completePlanDate;
	}

	public String getItemCode() {
		return itemCode;
	}

	public void setItemCode(String itemCode) {
		this.itemCode = itemCode;
	}

	public BigDecimal getNumber() {
		return number;
	}

	public void setNumber(BigDecimal number) {
		this.number = number;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
	
}
